From: Jonas Dreßler Date: Tue, 26 Apr 2022 16:45:40 +0000 (+0200) Subject: theme/calendar: Use em instead of px for calendar day sizes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~480^2^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d52508a29ef89a31c0d64c3ec1bddc2ee3c4cace;p=gnome-shell.git theme/calendar: Use em instead of px for calendar day sizes The layout manager of the calendar/notifications popup is using the calendar width to determine the width of the whole right area of the calendar popup. When enabling large text, this means the cards used for world clocks, weather etc. get larger, while the calender doesn't get larger, leading to the cards getting clipped. Make sure the calendar grows in size just as the cards do when large text is enabled and define its size in em's instead of pixels. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5392 Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss b/data/theme/gnome-shell-sass/widgets/_calendar.scss index 8d03ab903..465dc053d 100644 --- a/data/theme/gnome-shell-sass/widgets/_calendar.scss +++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss @@ -60,7 +60,7 @@ } } - $calendar_day_size: 32px; + $calendar_day_size: 3em; .calendar-day-base { text-align: center;